<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="314UsingnonlatinbasedfontswithJpGraph.html">
<LINK REL="Next" HREF="33Requiredfiles.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="314UsingnonlatinbasedfontswithJpGraph.html">Previous</A>
<A HREF="33Requiredfiles.html">Next</A>
<HR NOSHADE>
<H2><A NAME="3_2">3.2 Customizing the installation</A></H2>
<P> In order for JpGraph to work it is necessary to adjust the cache and
 TTF directory to suit the specific installation. By default the TTF
 directory is &quot;/usr/X11R6/lib/X11/fonts/truetype/&quot; and for the cache
 &quot;/tmp/jpgraph_cache/&quot;. These are defined as PHP defines at the top of<I>
 jpg-config.inc.php</I></P>
<P> Please make sure that PHP has write permissions to the cache
 directory if the cache feature should be used. If this is not the case
 a &quot;Can't write file xxx.yyy&quot; error will occur when a graph that uses
 the cache feature are generate. More information regarding the cache
 feature of JpGraph is available in the section<I> Making sense of
 caching system in JpGraph</I></P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="314UsingnonlatinbasedfontswithJpGraph.html">Previous</A>
<A HREF="33Requiredfiles.html">Next</A>
</BODY>
</HTML>
